package com.example.apollotogit;

import com.example.apollotogit.config.RedisKeyChangeListener;
import com.example.apollotogit.utils.PropertiesUtils;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableScheduling
@SpringBootApplication
public class ApollotogitApplication {

    public static void main(String[] args) {
        SpringApplication.run(ApollotogitApplication.class, args);
        PropertiesUtils.monitorApolloConfigurationChange();
    }

}
